package com.example.test;

import com.sun.jndi.ldap.pool.PoolCleaner;

/**
 * TODO: 这里要写注释的!
 */
public class VideoConferenceMain {
    public static void main(String[] args) {
        VideoConference videoConference= new VideoConference(10);
        Thread videoThread= new Thread(videoConference);
        videoThread.start();
        for (int i = 0; i < 10; i++) {
            Participant participant= new Participant(videoConference,"name_"+(i+1));
            Thread thread= new Thread(participant);
            thread.start();
        }
    }
}
